<?php

namespace app\common\validate;

use app\common\validate\Base;
class PhoneCheck extends Base
{

    protected $rule = [
        'phone|电话号码' => 'require|checkPhone', 
        'smscode|短信验证码' => 'require|length:4|checkSmsCode',
    ];

    protected $message = [
        
    ];

    protected $scene = [
        // 前台验证手机号码
        'home_check' => ['smscode'],
    ];

}